// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
/*iconfont*/
import 'styles/iconfont'
/*重置默认样式*/
import 'styles/reset'
/*1像素边框*/
import 'styles/border'
/*移动端300ms点击延迟*/
import fastClick from 'fastclick'
/*vue-aweosme-swiper 轮播图*/
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
/*全局使用axios*/
import axios from 'axios'
import VueAxios from 'vue-axios'
/**
 * 非全局使用vue
 * 在需要的页面引入vue
 * import axios from 'axios'
 * 然后直接通过
 * axios.get()使用
 */
Vue.config.productionTip = false

fastClick.attach(document.body);
Vue.use(VueAwesomeSwiper);
Vue.use(VueAxios,axios);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
